package com.huitu.whht.base.core.api.sms.template.entities;

import com.huitu.whht.api.core.common.base.BaseQo;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 说明: 短信模板基本信息表查询条件实体类,表名称: T_WHHT_SMS_TEMPLATE_B <br/>
 * 日期: 2019-04-11
 * @author LiuCW
 */
@Builder
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SmsTemplateBQo extends BaseQo {

private static final long serialVersionUID = 4L;

    /**
      * (数组)短信模板编码
      */
    private List<String> smsTempCdList;
    /**
      * 短信模板编码
      */
    private String smsTempCd;
    /**
      * 短信模板标题
      */
    private String smsTempTitle;
    /**
      * 短信模板内容
      */
    private String smsTempContent;
    /**
      * (数组)短信类型(0,其它;1,红线预警)
      */
    private List<String> smsTpList;
    /**
      * (数组)预警等级(0,非预警;1,红色预警;2,橙色预警;3.黄色预警;4,蓝色预警)
      */
    private List<String> warnGradeList;
    /**
      * (数组)操作用户ID
      */
    private List<String> userIdList;
    /**
      * 操作用户ID
      */
    private String userId;
    /**
      * (开始时间)时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime tsBgTm;
    /**
      * (结束时间)时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime tsEdTm;
}